<?	// traditional user system
	
?>
<div class="subpanel notLogged traditional permissions onlyAnon">
    <div class="hotlink openSignUp"><a href="javascript:openSignUp();"><? echo $lang['openSignUp']; ?></a></div>
	<div class="subpanelTitle"><? echo $lang['notLoggedTitle']; ?></div>
	<form onsubmit="javascript:logIn(); return false;">
		<p><div class="label"><? echo $lang['loginCaption']; ?></div>
		<input type="text" id="logUser" /></p>
		<p><div class="label"><? echo $lang['passwordCaption']; ?></div>
		<input type="password" id="logPass" /></p>
		<p><div class="label"></div>
		<input type="submit" value="<? echo $lang['loginButton']; ?>" /></p>
	</form>
</div>
<div class="subpanel signUp traditional hide">
    <div class="hotlink openSignUp"><a href="javascript:openLogIn();"><? echo $lang['openLogIn']; ?></a></div>
	<div class="subpanelTitle"><? echo $lang['signUpTitle']; ?></div>
	<form onsubmit="javascript:signUp();return false;">
		<p><div class="label"><? echo $lang['loginCaption']; ?></div>
		<input type="text" id="signUser"/></p>
		<p><div class="label"><? echo $lang['passwordCaption']; ?></div>
		<input type="password" id="signPass" /></p>
		<p><div class="label"></div>
		<input type="submit" value="<? echo $lang['signupButton']; ?>" /></p>
	</form>
</div>
<div class="subpanel logged traditional permissions aboveUser">
    <div class="hotlink logOff"><a href="javascript:logOff();"><? echo $lang['logOff']; ?></a></div>
	<div class="subpanelTitle"><? echo $lang['salute']; ?>, <div class="userName"><? echo $_SESSION['name']; ?></div>!</div>
	<div class="textBlock"></div>
</div>
<div class="subpanel logInfo traditional hide error">
    <div class="hotlink openLogIn error"></div>
	<div class="subpanelTitle error"></div>
    <div class="textBlock error"></div>
</div>